<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>菁霖商务信息咨询有限公司</title>
    <link rel="stylesheet" href="./static/plugins/layui/css/layui.css" />
    <link type="text/css" rel="stylesheet" href="./static/css/toastr.css"/>
    <link type="text/css" rel="stylesheet" href="./static/css/sweetalert.css"/>
    <style>
      .layerMR{
        margin-right: 10px;
      }
    </style>
</head>
<body>
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
        </div>
        <div class="layui-body" style="left: 0;z-index: 0;">
            <div style="margin-top: 5px;padding-left: 10px;">
                <div class="layui-inline">
                    <input class="layui-input" name="id" id="searchStr" autocomplete="off"
                           placeholder="搜索">
                </div>
                <button class="layui-btn" id="searchBtn">搜索</button>
                <button class="layui-btn" id="addResourceBtn">添加</button>
            </div>
            <div style="padding-left: 10px;padding-right: 10px;" id="resourceTableDiv">
                <table class="layui-hide" id="resourceTab"></table>
            </div>
        </div>

        <div class="layui-footer" style="left: 0px;text-align: center;">
            © 四川菁霖商务信息咨询有限公司
        </div>
    </div>

</body>

<div id="layerOpen" style="height:380px;width: 600px; display: none" >
    <form class="layui-form" style="margin-top: 20px;" lay-filter="resourceForm">
        <div class="layui-form-item">
                <label class="layui-form-label" >资源名称<span style="color: red;">*</span></label>
                <div class="layui-input-block layerMR">
                    <input id="name" type="text" name="title" lay-verify="title" autocomplete="off" placeholder="" class="layui-input">
                </div>
        </div>

        <div class="layui-form-item">
                <label class="layui-form-label" >资源电话<span style="color: red;">*</span></label>
                <div class="layui-input-block layerMR">
                    <input id="phone" type="text" name="title" lay-verify="title" autocomplete="off" placeholder="" class="layui-input">
                </div>
        </div>

        <div class="layui-form-item">
                <label class="layui-form-label" >专业类型<span style="color: red;">*</span></label>
                <div class="layui-input-block layerMR">
                    <input id="professionType" type="text" name="title" lay-verify="title" autocomplete="off" placeholder="" class="layui-input">
                </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" >客户类型<span style="color: red;">*</span></label>
            <div class="layui-input-block layerMR">
                <select id="customType" lay-verify="required" name="customType">
                    <option value="">请选择</option>
                    <option value="普通客户">普通客户</option>
                    <option value="意向客户">意向客户</option>
                    <option value="重点客户">重点客户</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">相关备注<span style="visibility: hidden;">*</span></label>
            <div class="layui-input-block layerMR">
                <textarea id="mark" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>

        <div class="layui-form-item layerMR" style="text-align: right;">
            <button class="layui-btn" type="button" id="saveResourceBtn">保存</button>
            <button class="layui-btn" type="button" id="cancelBtn">取消</button>
            <input type="hidden" id="resourceId">
        </div>
    </form>
</div>

<script type="text/javascript" src="./static/plugins/jquery/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="./static/plugins/layui/layui.js"></script>
<script type="text/javascript" src="./static/js/toastr.js"></script>
<script type="text/javascript" src="./static/js/toastrUtil.js"></script>
<script type="text/javascript" src="./static/js/sweetalert.js"></script>
<script type="text/javascript" src="./static/js/common.js"></script>
<script type="text/javascript" src="./static/js/zl/resourcemanage.js"></script>
<!--登陆操作 -->
<script>
  //JavaScript代码区域
  layui.use('element', function(){
    var element = layui.element;
  });
</script>
</html>